package
{
	import UI.Panel;
	
	import flash.display.Bitmap;
	import flash.display.Sprite;
	import flash.display.StageAlign;
	import flash.display.StageScaleMode;
	
	public class TestPanel extends Sprite
	{
		[Embed(source="./assets/test2.png")]
		private var	bgImg:Class;
		public function TestPanel()
		{
			super();
			this.stage.align = StageAlign.TOP_LEFT;
			this.stage.scaleMode = StageScaleMode.NO_SCALE;
			
			var bgBitmap:Bitmap = new this.bgImg;
			var panel:Panel = new Panel(bgBitmap);
			panel.width = 640;
			panel.height = 480;
			this.addChild(panel);
			
		}
	}
}